grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.project.dependency.resolution = {
    /*
     * 'useOrigin' disables ivy cache and gets our dependencies directly from maven/grails repo
     * (useful when we deploy artifacts we are working on to local maven repo)
     */
    useOrigin true

    // inherit Grails' default dependencies
    inherits("global") {
        // uncomment to disable ehcache
        // excludes 'ehcache'
    }
    log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
    repositories {
        mavenLocal()
        grailsPlugins()
        grailsHome()
        grailsCentral()
        mavenCentral()

        // uncomment the below to enable remote dependency resolution
        // from public Maven repositories
        //mavenLocal()
        //mavenCentral()
        //mavenRepo "http://snapshots.repository.codehaus.org"
        //mavenRepo "http://repository.codehaus.org"
        //mavenRepo "http://download.java.net/maven/2/"
        //mavenRepo "http://repository.jboss.com/maven2/"
    }
    dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        compile(
            [group: 'org.apache.activemq', name: 'activemq-core', version: '5.4.2'],
            [group: 'com.google.guava', name: 'guava', version: 'r08'],
            [group: 'kassiopeia', name: 'kassiopeia-commons', version: '1.0-SNAPSHOT', transitive: false]
        )

        runtime(
            [group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.3.1'],
            [group: 'mysql', name: 'mysql-connector-java', version: '5.1.18']
        )

        test(
            [group: 'org.easytesting', name: 'fest-assert', version: '1.3']
        )

    }
}
